﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Runtime.CompilerServices;

namespace Coldairarrow.Entity.Interface
{
    /// <summary>
    /// api响应的公共数据
    /// </summary>
    /// 

    public class ZB_BaseResponseDTO<T>
    {
        public int code { get; set; }
        public bool success { get; set; }
        public string message { get; set; }
        public object errors { get; set; }
        public string timestamp { get; set; }
        public string requestId { get; set; }
        public string duration { get; set; }
        public Data data { get; set; }
        public class Data
        {
            public int pageNum { get; set; }
            public int pageSize { get; set; }
            public int totalCount { get; set; }
            public int totalPage { get; set; }
            public List<T> list { get; set; }
        }
    }

}
